package com.jiang.books.domain.metamodel;

import java.math.BigInteger;
import java.util.Date;

import javax.persistence.metamodel.SetAttribute;
import javax.persistence.metamodel.SingularAttribute;
import javax.persistence.metamodel.StaticMetamodel;

import org.joda.time.DateTime;

import com.jiang.books.domain.Author;
import com.jiang.books.domain.Award;
import com.jiang.books.domain.Book;
import com.jiang.books.domain.Country;

@StaticMetamodel(Author.class)
public abstract class Author_ {

	public static volatile SingularAttribute<Author, BigInteger> id;
	public static volatile SetAttribute<Author, Country> country;
	public static volatile SingularAttribute<Author, String> firstName;
	public static volatile SingularAttribute<Author, String> lastName;
	public static volatile SingularAttribute<Author, String> firstNameNative;
	public static volatile SingularAttribute<Author, String> lastNameNative;
	public static volatile SingularAttribute<Author, Date> birthDate;
	public static volatile SingularAttribute<Author, String> description;
	public static volatile SingularAttribute<Author, Integer> version;
	
	// Audit fields
	public static volatile SingularAttribute<Author, String> createdBy;
	public static volatile SingularAttribute<Author, DateTime> createdDate;
	public static volatile SingularAttribute<Author, String> lastModifiedBy;
	public static volatile SingularAttribute<Author, DateTime> lastModifiedDate;
	
	public static volatile SetAttribute<Author, Award> awards;
	public static volatile SetAttribute<Author, Book> books;
}

